class AA{
	void m1(){}
	void m1(int i){
		System.out.println("m1(int i)");	
	}
}

class BB extends AA{
	void m1(){}
	void m1(double d){
		System.out.println("m1(double d)");	
	}
}

public class TestOverloadAndOrverride{
	public static void main(String[]args){
		BB b = new BB();
		b.m1();
		b.m1(1);
	}
}